package cn.qingyun.gis.modules.express.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("附近渠道返回对象")
@Builder
public class NearbyChannelDto {
    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("站点类型")
    private String type;

    @ApiModelProperty("站点名称")
    private String name;

    @ApiModelProperty("站点地址")
    private String address;

    @ApiModelProperty("经度")
    private BigDecimal lon;

    @ApiModelProperty("纬度")
    private BigDecimal lat;

    @ApiModelProperty("类型编码（0:快递/1:外卖/2:网约车）")
    private Integer typeCode;

    @ApiModelProperty("距离")
    private BigDecimal distance;
}
